﻿using System.Data.Objects;
using EzDesk.Utility;

namespace EzDesk.Utility.Web.Extensions
{
    public static class ContainerExt
    {
        public static void DeleteTable(this ObjectContext container, string tableName)
        {
            container.ExecuteStoreCommand("DELETE FROM [{0}]".FormatString(tableName));
        }
    }
}